package com.trxy.model;

public class JsonObj {

    private int code; //0正常，其它值代表出错的情况
    private String message; // 代表具体的错误信息
    private Object data;    //具体的数据

    public JsonObj(){}

    public JsonObj(int code, String message, Object data) {
        this.code = code;
        this.message = message;
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
